package com.ljh.jxc.modules.suo.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ljh.jxc.common.utils.PageUtils;
import com.ljh.jxc.common.utils.Query;

import com.ljh.jxc.modules.suo.mapper.AlarmdetailMapper;
import com.ljh.jxc.modules.suo.entity.Alarmdetail;
import com.ljh.jxc.modules.suo.service.AlarmdetailService;


@Service("alarmdetailService")
public class AlarmdetailServiceImpl extends ServiceImpl<AlarmdetailMapper, Alarmdetail> implements AlarmdetailService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<Alarmdetail> page = this.page(
                new Query<Alarmdetail>().getPage(params),
                new QueryWrapper<Alarmdetail>()
        );

        return new PageUtils(page);
    }

}